-- GENERATED SPELL FOR [Ironspine Threshalisk] --


function spell0_19729(pUnit, Event) --@Threshalisk Charge,n/a--
pUnit:FullCastSpellOnTarget(35385,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19729', 607, 1)
end

function Sorts_19729(pUnit, Event)
local choix_sorts_19729 = math.random(0, 0)
if choix_sorts_19729 == 0 then
pUnit:RegisterEvent('spell0_19729', 1, 1)
end
end

function mob19729_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19729', math.random(1500, 3000), 1)
end

function mob19729_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19729_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19729_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19729, 1, 'mob19729_Action')
RegisterUnitEvent(19729, 2, 'mob19729_Leave')
RegisterUnitEvent(19729, 3, 'mob19729_Kill')
RegisterUnitEvent(19729, 4, 'mob19729_Die')
